package cn.stylefeng.guns.modular.weixin.handler;

import org.springframework.stereotype.*;
import java.util.*;
import me.chanjar.weixin.mp.api.*;
import me.chanjar.weixin.common.session.*;
import me.chanjar.weixin.mp.bean.message.*;
import cn.stylefeng.guns.modular.weixin.utils.*;
import org.springframework.util.*;

@Component
public class LogHandler extends AbstractHandler
{
    public WxMpXmlOutMessage handle(final WxMpXmlMessage wxMessage, final Map<String, Object> context, final WxMpService wxMpService, final WxSessionManager sessionManager) {
        this.logger.info("\n\u63a5\u6536\u5230\u8bf7\u6c42\u6d88\u606f\uff0c\u5185\u5bb9\uff1a{}", StringUtils.trimAllWhitespace(JsonUtils.toJson(wxMessage)));
        return null;
    }
}
